<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="/xlive/script/xlv.js"></script>
</head>
<body>
	<div id="setDirectory_main" xlvobject="xlv.obj.pane" xlvprop="{glow:{enable:true},border:{enable:true}}"
		xlvmethod="{
			styleFor:function(root){
				root.style.background='white';
			}
		}"
	>
	  					<div xlvobject="xlv.obj.dmTrigger"
							 xlvprop="{dmName:'menu',listener:{when:'afterModelChanged',notify:'setChanged',memoType:'create',memoMethods:'set-directory'}}"
							 xlvmethod="{
							 		process:function(options){
							 			var dm=this.getDataModel();
							 			if('true'!=dm.getValue('set-directory.return.valid')){
							 				return alert('set Product error :'+dm.getValue('set-directory.return.why'));
							 			}
							 			this.getPaneById('setDirectory_main').dispose();
									}
							 }"
						>
						</div>
	  
	  <div id="pxml" xlvobject="xlv.obj.pxml"  xlvprop="{completeString:'完成'}" style="width:320px"
	  	xlvmethod="{
	  		initial:function(){
	  			this.$self('initial');
	  			var dm = this.getDataModel('menu');
	  			var node=dm.getNode('set-directory');
	  			if(node)this.build(node);
	  		},
	  		complete:function(){
	  			this.getDataModel('menu').webMethod('set-directory');
	  		},
	  		cancel:function(){
	  			this.getPaneById('setDirectory_main').dispose();
	  		}
	  		
	  	}"
	  >
	  </div>
	</div>
</body>
</html>
